import { createApp } from 'vue'
import App from './App.vue'

import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import './style/element_visiable.scss'

//前端初始化相关内容
import './core/gin-vue'
//引入封装的router
import router from '@/router/index'

import run from '@/core/gin-vue.js'
import { store } from '@/pinia'
import auth from '@/directive/auth'
import '@/permission'

const app=createApp(App)
app.config.productionTip=false

app
	.use(run)
	.use(router)
	.use(store)
	.use(auth)
	.use(ElementPlus,{locale:zhCn})
	.mount('#app')
export default app